<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML>
<html>
<head>
    <base href="<%=basePath%>">
    <title></title>
    <meta http-equiv="cache-control" content="no-cache">
    <link rel="stylesheet" type="text/css" href="/css/edittable.css"  ></link>
    <link rel="stylesheet" type="text/css" href="/css/validate.css"  ></link>
    <script type="text/javascript"  src="/js/jquery-1.8.0.js"></script>
</head>

<body>
<div class ="div_title">
    <div class="div_titlename"> <img src="/images/san_jiao.gif" ><span>角色修改</span></div>
</div>

<form action="RoleServlet" method="post" onsubmit="return validate()" >
    <input type="hidden" name="flag" value="update" >
    <input type="hidden" name="id" value="${role.id}" >
    <table class="edit_table" >
        <tr>
            <td class="td_info">用户账号:</td>
            <td class="td_input_short">
                <input type="text" class="txtbox" id="adminName" name="adminName" value="${role.roleName}"/>
            </td>
            <td>
                <label class="validate_info" id="adminName_msg">此处修改角色名称</label>
            </td>
        </tr>
        <tr>
            <td class="td_info">角色描述:</td>
            <td><textarea rows="4" cols="27" name="des" class="txtarea" >${role.des}</textarea> </td>
            <td><label></label></td>
        </tr>
        <tr>
            <td class="td_info"> </td>
            <td>
                <input class="form_btn" type="submit" value="提交" />
                <input type="reset"  class="form_btn" value="重置" /> </td>
            <td>
                <label id="result_msg" class="result_msg">${msg}</label>
            </td>
        </tr>
    </table>
</form>

</body>
</html>